package com.ruoyi.system.domain.app;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
@Data
public class RechargeOrder extends BaseEntity {
    private Long id;

    private String orderNum;

    private String payNum;

    private Long userId;

    private String userName;

    private String userPhone;

    private String power;

    private Long deviceId;

    private String deviceNum;

    private Long communityId;

    private String communityName;

    private Long operatorId;

    private String operatorName;

    private String holeNum;

    private Integer state;

    private Integer orderState;

    private Integer orderType;

    private Integer payType;

    private String cardNo;

    private Long preinstallTime;

    private BigDecimal preinstallMoney;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date rechargeStartTime;

    private Long rechargeContinueTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date rechargeEndTime;

    private BigDecimal rechargeMoney;


    private BigDecimal allMoney;

    private String rechargeAmount;

    private String endChargeCause;

    private String endCause;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}